package com.entity.view;

import com.baomidou.mybatisplus.annotations.TableName;
import com.entity.Product_comment;
import org.apache.commons.beanutils.BeanUtils;

import java.io.Serializable;
import java.lang.reflect.InvocationTargetException;

@TableName("t_product_comment")
public class Product_commentView  extends Product_comment implements Serializable {
    private static final long serialVersionUID = 1L;

    public Product_commentView(){
    }

    public Product_commentView(Product_comment Product_comment){
        try {
            BeanUtils.copyProperties(Product_comment,this);
        } catch (IllegalAccessException | InvocationTargetException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

    }

}

